//
//  ViewOne.m
//  DemoChangBackGround
//
//  Created by duc nguyen van on 8/7/11.
//  Copyright 2011 STU. All rights reserved.
//

#import "ViewOne.h"


@implementation ViewOne

- (id)initWithFrame:(CGRect)frame {
    
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code.
		self.clearsContextBeforeDrawing = YES;
    }
    return self;
}


// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    CGContextRef context = UIGraphicsGetCurrentContext();
	CGContextAddEllipseInRect(context, rect);
	CGContextFillPath(context);
}


- (void)dealloc {
    [super dealloc];
}


@end
